package com.zhangbo.study.designpatternlearning.command;

/**
 * 命令操作对象
 */
public class Light {

    public void on() {
        System.out.println("开灯");
    }

    public void off() {
        System.out.println("关灯");
    }

}
